<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
     <h1>{{this.$store.state.name}}</h1>
    <HelloWorld msg="Welcome to Your Vue.js App"/>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'app',
  components: {
    HelloWorld
  },
  created(){
	  this.maxios({
		  url:'http://leeminy.cn:3333/showBanner',
		  beforeSend:()=>{
			  console.log('fff')
		  },
		  success:()=>{
			  console.log('succes')
		  }
	  }).then((res)=>{
		  console.log(res)
	  }).catch((e)=>{
		  console.log(e)
	  })
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
